@import "../shared/common.less";
.table-flex {
  .display-flex(@justify-content: flex-start;
  @align-items: initial);
  width: 100%;
  height: calc(~"100% - 30px");
  overflow-y: auto;
  font-size: 1.4rem;
}

.table-default {
  // .table-flex;
  width: 100%;
  border-collapse: collapse;
  font-size: 1.4rem;
  tr {
    // .display-flex(row, @align-items: center);
    // width: 100%;
    td,
    th {
      // width: 20px;
      height: 30px;
      white-space: nowrap;
      .flex;
      text-align: center;
      font-weight: normal;
      line-height: 30px;
      border: @border-simple;
      &:first-child {
        border-left-width: 0;
      }
      // border-top: 1px solid @color-gray-main;
      // &.wide-cell {
      //   width: 30px;
      // }
    }
  }
  tbody {
    overflow: scroll;
    tr {
      &:nth-child(2n) {
        background-color: @color-gray-view-background;
      }
    }
  }
  button {
    font-size: 1.2rem;
    border: 1px solid @color-gray-main;
    border-radius: 4px;
    height: 18px;
    line-height: 12px;
    background-color: @color-white;
    cursor: pointer;
    &:hover {
      color: @color-blue;
      border-color: @color-blue;
    }
    &:active {
      color: @color-cyan;
      border-color: @color-cyan;
    }
  }
}

.combo-wrapper {
  width: 100%;
  height: calc(~"100% - 30px");
  .display-flex;
  overflow-y: auto;
}